package com.term.demo.dao;

import com.term.demo.entity.TypeInfo;
import com.term.demo.vo.TypeInfoVo;

import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


@Repository
public interface TypeInfoDao extends Mapper<TypeInfo> {
    List<TypeInfoVo> findByName(@Param("name") String name);

    Integer count();



}
